//
//  BaseDataCell.m
//  MZJ
//
//  Created by XDD on 16/6/3.
//  Copyright © 2016年 XDD. All rights reserved.
//

#import "BaseDataCell.h"

@implementation BaseDataCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    _headImageView = [[UIImageView alloc]initWithFrame:CGRectMake(100, 15, 50, 50)];
//    _headImageView.backgroundColor = [UIColor purpleColor];
    _headImageView.layer.cornerRadius = 25.0;
    _headImageView.layer.masksToBounds = YES;
    _headImageView.image = [UIImage imageNamed:@"Imageloading failure_img@2x"];
    [self.contentView addSubview:_headImageView];
    
    _chooseImageView = [[UIImageView alloc]initWithFrame:CGRectMake(100, 18, 14, 14)];
//    _chooseImageView.backgroundColor = [UIColor greenColor];
    _chooseImageView.image = [UIImage imageNamed:@"Checked_YES_img@2x"];
    [self.contentView addSubview:_chooseImageView];
    
    _sexLabel = [[UILabel alloc]initWithFrame:CGRectMake(123, 15, 25, 20)];
    _sexLabel.font = [UIFont systemFontOfSize:13];
    _sexLabel.text = @"男";
    [self.contentView addSubview:_sexLabel];

}

- (void)chooseBtnAction {
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
